package com.junko.model.app;

import com.fasterxml.jackson.annotation.JsonInclude;
import com.junko.model.BaseModel;

/**
 * 视频
 */
@JsonInclude(value= JsonInclude.Include.NON_NULL)
public class Video extends BaseModel {
    private Integer id;
    private Integer userId;//用户
    private Integer viewTimes;//浏览数
    private Integer likeTimes;//喜欢数
    private Integer dislikeTimes;//不喜欢数
    private Integer collectTimes;//收藏数
    private Integer commentTimes;//评论次数
    private String digest;//摘要说明
    private String poster;//封面图
    private String filePath;//文件路径
    private Boolean deleted;//逻辑删除
    private Boolean hide;//被屏蔽

    private User user;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Integer getViewTimes() {
        return viewTimes;
    }

    public void setViewTimes(Integer viewTimes) {
        this.viewTimes = viewTimes;
    }

    public Integer getLikeTimes() {
        return likeTimes;
    }

    public void setLikeTimes(Integer likeTimes) {
        this.likeTimes = likeTimes;
    }

    public Integer getDislikeTimes() {
        return dislikeTimes;
    }

    public void setDislikeTimes(Integer dislikeTimes) {
        this.dislikeTimes = dislikeTimes;
    }

    public Integer getCommentTimes() {
        return commentTimes;
    }

    public void setCommentTimes(Integer commentTimes) {
        this.commentTimes = commentTimes;
    }

    public String getDigest() {
        return digest;
    }

    public void setDigest(String digest) {
        this.digest = digest;
    }

    public String getPoster() {
        return poster;
    }

    public void setPoster(String poster) {
        this.poster = poster;
    }

    public String getFilePath() {
        return filePath;
    }

    public void setFilePath(String filePath) {
        this.filePath = filePath;
    }

    public Boolean getDeleted() {
        return deleted;
    }

    public void setDeleted(Boolean deleted) {
        this.deleted = deleted;
    }

    public Boolean getHide() {
        return hide;
    }

    public void setHide(Boolean hide) {
        this.hide = hide;
    }

    public Integer getCollectTimes() {
        return collectTimes;
    }

    public void setCollectTimes(Integer collectTimes) {
        this.collectTimes = collectTimes;
    }

    public User getUser() {
        return user;
    }

    public void setUser(User user) {
        this.user = user;
    }
}
